package pers.sen.cloud;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @author Jason
 * @version 1.0.0
 * @date 2020/11/26 19:43
 * @Description TODO
 */
@SpringBootApplication
@MapperScan(basePackages = "pers.sen.cloud.mapper")
// 使用springcloud提供的启动注解
@EnableDiscoveryClient
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
        System.out.println("==========User服务启动=============");
    }
}
